/*
 * Gedigarr - Falling block game.
 * Copyright (C) 2010  BoredCorp
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

package gedigarr.game;

/**
 *
 * @author User
 */
public class GameConstants {
  /**
   * Cell width/height in pixels.
   */
  public static final int CELL_WIDTH = 20;
  /**
   * Horizontal tiles in the game grid.
   */
  public static final int GRID_WIDTH = 8;
  /**
   * Vertical tiles in the game grid.
   */
  public static final int GRID_HEIGHT = 18;
  /**
   * Level up every X cleared rows.
   */
  public static final int LEVEL_UP = 10;
  /**
   * Minimum drop speed in milliseconds.
   */
  public static final int MIN_DROP_SPEED = 150;
  /**
   * Speed increase on each level in milliseconds.
   */
  public static final int TIME_INC_LEVEL = 50;
  /**
   * Speed increase on every second in milliseconds.
   */
  public static final int TIME_INC_SECOND = 2;
  /**
   * Base points gained per vertical tick.
   */
  public static final long SCORE_TICK = 1L;
  /**
   * Base points per placed tetromino.
   */
  public static final long SCORE_PLACE = 10L;
  /**
   * Base points for cleared line.
   */
  public static final long SCORE_LINE = 100L;

  /**
   * Base vertical movement speed - before modification.
   */
  public static final long MOVE_BASE_VER = 1000;
  /**
   * Base horizontal movement speed.
   */
  public static final long MOVE_BASE_HOR = 150L;
  /**
   * Base rotate speed.
   */
  public static final long MOVE_BASE_ROTATE = 300L;
}
